package core.proto.annotation;

/**
 * A class that generates annotation-related events should implement this. 
 * Currently it allows listeners on removal of annotations, as well as the 
 * toggle on/off of popup editor for annotations. 
 * @author Wei
 *
 */
public interface AnnotationEventSource {
	// We only have add methods because we know that annotations are shorter lived
	// than its listeners, so that we won't have memory leaks from this. 
	void addAnnotationRemovalListener(AnnotationRemovalListener l);
	void addAnnotationFocusListener(AnnotationFocusListener l);
}
